package gdma.hqdes.bean;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author wangyue
 * @Version 3.0
 * @Date 2024-07-24
 */

@Data
public class HqdProject implements Serializable {

    @ApiModelProperty("id")
    @TableId
    Long id;

    @ApiModelProperty("状态：0=正常, -1=停用")
    Integer status;

    @ApiModelProperty("年份")
    Integer year;

    @ApiModelProperty("应用层级：0=全国,  1=省级,  2=地市级,  3=区县级")
    Integer scope;

    @ApiModelProperty("名称")
    String name;

    @ApiModelProperty("指标版本Id")
    Integer indexVerId;

    @ApiModelProperty("项目开始时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    Date startTime;

    @ApiModelProperty("填报截止时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    Date stage1Time;

    @ApiModelProperty("审核截止时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    Date stage2Time;

    @ApiModelProperty("项目截止时间")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    Date endTime;

    @ApiModelProperty("参与单位数")
    Integer participatedNum;

    @ApiModelProperty("已完成填报单位数")
    Integer stage1FinishedNum;

    @ApiModelProperty("填报阶段备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    String stage1Comment;

    @ApiModelProperty("已完成审核单位数")
    Integer stage2FinishedNum;

    @ApiModelProperty("审核阶段备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    String stage2Comment;

    @ApiModelProperty("创建时间")
    Date createdTime;

    @ApiModelProperty("更新时间")
    Date updatedTime;

}
